home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 146
/
(Vol 146) Jan 07 2012.iso
/
Games
/
thrust_2.swf
/
scripts
/
frame_21
/
PlaceObject2_107_537
/
CLIPACTIONRECORD onClipEvent(keyDown).as
< prev
next >
Wrap
Text File
|
2012-01-07
|
552b
|
27 lines
onClipEvent(keyDown){
if(Key.getCode() == 39 && landed == false && won == false)
{
keydownright = true;
}
if(Key.getCode() == 37 && landed == false && won == false)
{
keydownleft = true;
}
if(Key.getCode() == 38 && won == false)
{
keydownup = true;
if(dead == false)
{
this.gotoAndStop(2);
}
}
if(Key.getCode() == 40 && won == false)
{
keydowndown = true;
}
if(Key.getCode() == 32 && won == false)
{
keydownfire = true;
}
}